﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BioModel
{
    [DataContract]
    public class BilletSalg
    {
        #region Attributter
        [DataMember]
        private int salgId;
        [DataMember]
        private DateTime salgDato;
        #endregion

        #region Konstruktør

        public BilletSalg(DateTime datoOprettet, int antalBilletter, string salgsType, double totalPris, int forestilling, int kundeTlf)
        {
        }

        public BilletSalg(DateTime salgDato)
        {
            this.salgDato = salgDato;
        }

        #endregion
        #region Set og Get
        [DataMember]
        public DateTime SalgDato
        {
            get { return salgDato; }
            set { salgDato = value; }
        }
        [DataMember]
        public int SalgId
        {
            get { return salgId; }
            set { salgId = value; }
        }
        #endregion
    }
}
